Skip to content

build(python)!: Drop support for Python 3.8 which reached EOL and add expose support for 3.13 #1298

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

noirbizarre
Copy link
Member

Description

Drop support for Python 3.8 which reached End Of Life (cf. https://devguide.python.org/versions/)
Expose support for Python 3.13 which is already tested in CI but not in the package metadata.

Checklist

  • Add test cases to all the changes you introduce
  • Run ./scripts/format and ./scripts/test locally to ensure this change passes linter check and test
  • Test the changes on the local machine manually
  • Update the documentation for the changes

Expected behavior

  • Not functional change expected
  • New syntaxes unlocked

Steps to Test This Pull Request

CI should be sufficient

Additional context

N/A

Copy link

codecov bot commented Nov 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.58%. Comparing base (120d514) to head (fd2898f).
Report is 498 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1298      +/-   ##
==========================================
+ Coverage   97.33%   97.58%   +0.24%     
==========================================
  Files          42       55      +13     
  Lines        2104     2607     +503     
==========================================
+ Hits         2048     2544     +496     
- Misses         56       63       +7     
Flag Coverage Δ
unittests 97.58% <ø> (+0.24%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Lee-W Lee-W merged commit 64cb9b6 into commitizen-tools:master Nov 26, 2024
18 checks passed
@Lee-W
Copy link
Member

Lee-W commented Nov 26, 2024

oops. it seems this bump major version 😱

@woile @noirbizarre should we revert this and merge this to v4 instead?

@Lee-W
Copy link
Member

Lee-W commented Nov 26, 2024

or we can just make the v4 branch v5. sorry for not noticing it 🤦‍♂️

@woile
Copy link
Member

woile commented Nov 26, 2024

Let's leave it, technically this is proper semver 😅

@noirbizarre
Copy link
Member Author

Agreed, let's stick to semver. It means we will have at least a major a year.

However, maybe this not wanted, dropping a Python version reaching EOL should not be considered a breaking change (as actually there is no API breakage) and I should not tag the commit breaking next time 🤷‍♂️

@noirbizarre noirbizarre deleted the python/3.9-3.13 branch November 26, 2024 09:42
@Lee-W
Copy link
Member

Lee-W commented Nov 26, 2024

Sounds good 👍 Just want to make sure we are all ok with it (frequent breaking changes actually don't bother me that much anyway)

But I'm wondering whether we could create a way to block merging accidental breaking change? e.g, allow only certain branch like v* to contain breaking changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants